Hardware-in-the-loop Simulation and Real-time Control
ثبت نشده
چکیده
In the previous chapters, Simulink was used to model complicated systems. Single variable and multivariable systems, linear and nonlinear systems, continuous, discrete and hybrid systems, time invariant and time varying systems, engineering and non-engineering systems can all be simulated by Simulink. With the use of S-function and Stateflow techniques, complicated systems, as well as discrete event systems can also be modeled and simulated. So far, numerical simulation approaches in Simulink have been studied. However, the interaction with the real world has yet to be considered. For many practical processes, accurate mathematical models cannot be obtained, so exact Simulink models cannot be constructed. Sometimes due to the complexity of actual systems, the Simulink models established may not be accurate. The actual system should somehow be embedded in the simulation loop to get more accurate simulation results. This kind of simulation is usually referred to as a hardware-in-the-loop simulation. Since this kind of simulation is often performed in real-time, it is sometimes referred to as real-time simulation. Real-Time Workshop provided by MathWorks can translate the Simulink models into C code, and the standalone executable files can also be generated using this tool, so that real-time control can be performed. Also, third-party software and hardware also provide interfaces to Simulink. Good examples of these products are dSPACE, with its Control Desk and Quanser plus WinCon (which can be used to implement hardware-in-the-loop simulation and real-time control experiments). MATLAB and Simulink support many products from well-known hardware manufacturers such as Motorola, Texas Instruments etc, and can directly generate executable code for them from Simulink models. A low-cost NIAT tool can also be used to implement hardware-in-the-loop simulation and experiments. Moreover, a much lower cost platform using Arduino is introduced. In this chapter, these tools will be demonstrated with applications in real-time control.
منابع مشابه
Hardware in Loop of a Generalized Predictive Controller for a Micro Grid DC System of Renewable Energy Sources
In this paper, a hardware in the loop simulation (HIL) is presented. This application is purposed as the first step before a real implementation of a Generalized Predictive Control (GPC) on a micro-grid system located at the Military University Campus in Cajica, Colombia. The designed GPC, looks for keep the battery bank State of Charge (SOC) over the 70% and under the 90%, what ensures the bes...
متن کاملRobust Attitude Control of Spacecraft Simulator with External Disturbances
The spacecraft simulator robust control through H∞-based linear matrix inequality (LMI) and robust adaptive method is implemented. The spacecraft attitude control subsystem simulator consists of a platform, an air-bearing and a set of four reaction wheels. This set up provides a free real-time three degree of freedom rotation. Spacecraft simulators are applied in upgrading and checking the c...
متن کاملA New Adaptive Load-Shedding and Restoration Strategy for Autonomous Operation of Microgrids: A Real-Time Study
Islanding operation is one of the main features of a MicroGrid (MG), which is realized regarding the presence of distributed energy resources (DERs). However, in order to deal with the control challenges, which an MG faces during island operation, particularly when the transition is associated with certain excessive load, an efficient control strategy is required. This paper introduces a Centra...
متن کاملNonlinear Control for Positive Output Super Lift Luo Converter in Stand Alone Photovoltaic System
This paper proposes a stand-alone photovoltaic (PV) system based on a DC-DC positive output super lift Luo (POSLL) converter. A conventional sliding mode control, a sliding mode controller using a simple sign function and a linear controller using proportional integrator (PI) are used for the control of the PV panel voltage and POSLL converter inductor current and these methods are compared tog...
متن کاملControl Simulation and Experimental Verification of Maximum Power Point Tracking Based on RT-LAB (TECHNICAL NOTE)
The maximum power point tracking (MPPT) control in the Photovoltaic system is the key control technology, however present controller has the disadvantages of long development cycle, high cost and complex verification, and there are some disadvantages carrying out totally physical simulation or totally digital simulation of different control algorithms. This paper carried out design of hardware ...
متن کاملComparative study of computer simulation softwares
One of the methods for analyzing systems is simulation. Network simulation is a technique that models the behavior of the network by performing transaction calculations between different network entities and using mathematical formulas and taking observations from network products. A network simulator is a piece of software or hardware that predicts the behavior of a computer network without a ...
متن کامل